﻿using System;
using YinfangWeb.Common;

namespace YinfangWeb.Model
{
	/// <summary>
	/// ProductParam
	/// </summary>
    [Serializable]
	public class ProductParam
	{
		/// <summary>
		/// ProductParamID
        /// </summary>
        [FieldName("ProductParamID")]		
		public int ProductParamID
		{
			get;
			set;
		}
        
		/// <summary>
		/// ProductDataID
        /// </summary>
        [FieldName("ProductDataID")]		
		public int ProductDataID
		{
			get;
			set;
		}
        
		/// <summary>
		/// ParamDefault
        /// </summary>
        [FieldName("ParamDefault")]		
		public int ParamDefault
		{
			get;
			set;
		}
        
		/// <summary>
		/// OrderNum
        /// </summary>
        [FieldName("OrderNum")]		
		public int OrderNum
		{
			get;
			set;
		}
        
		/// <summary>
		/// ParamName1
        /// </summary>
        [FieldName("ParamName1")]		
		public string ParamName1
		{
			get;
			set;
		}
        
		/// <summary>
		/// ParamValue1
        /// </summary>
        [FieldName("ParamValue1")]		
		public string ParamValue1
		{
			get;
			set;
		}
        
		/// <summary>
		/// ParamName2
        /// </summary>
        [FieldName("ParamName2")]		
		public string ParamName2
		{
			get;
			set;
		}
        
		/// <summary>
		/// ParamValue2
        /// </summary>
        [FieldName("ParamValue2")]		
		public string ParamValue2
		{
			get;
			set;
		}
        
		/// <summary>
		/// ParamName3
        /// </summary>
        [FieldName("ParamName3")]		
		public string ParamName3
		{
			get;
			set;
		}
        
		/// <summary>
		/// ParamValue3
        /// </summary>
        [FieldName("ParamValue3")]		
		public string ParamValue3
		{
			get;
			set;
		}
        
		/// <summary>
		/// PriceMarket
        /// </summary>
        [FieldName("PriceMarket")]		
		public decimal PriceMarket
		{
			get;
			set;
		}
        
		/// <summary>
		/// PriceSell
        /// </summary>
        [FieldName("PriceSell")]		
		public decimal PriceSell
		{
			get;
			set;
		}
        
		/// <summary>
		/// PriceNet
        /// </summary>
        [FieldName("PriceNet")]		
		public decimal PriceNet
		{
			get;
			set;
		}
        
		/// <summary>
		/// PriceTax
        /// </summary>
        [FieldName("PriceTax")]		
		public decimal PriceTax
		{
			get;
			set;
		}
        
		/// <summary>
		/// PricePost
        /// </summary>
        [FieldName("PricePost")]		
		public decimal PricePost
		{
			get;
			set;
		}
        
		/// <summary>
		/// PriceCost
        /// </summary>
        [FieldName("PriceCost")]		
		public decimal PriceCost
		{
			get;
			set;
		}
        
		/// <summary>
		/// CoinDeduct
        /// </summary>
        [FieldName("CoinDeduct")]		
		public int CoinDeduct
		{
			get;
			set;
		}
        
		/// <summary>
		/// Stock
        /// </summary>
        [FieldName("Stock")]		
		public int Stock
		{
			get;
			set;
		}
        
		/// <summary>
		/// SellSum
        /// </summary>
        [FieldName("SellSum")]		
		public int SellSum
		{
			get;
			set;
		}
        
		/// <summary>
		/// DefaultProductFileID
        /// </summary>
        [FieldName("DefaultProductFileID")]		
		public int DefaultProductFileID
		{
			get;
			set;
		}
        
        public ProductParam Clone()
        {
            return (ProductParam)this.MemberwiseClone();
        }
        
        public ProductParam()
        {
            ParamName1 = string.Empty;
            ParamValue1 = string.Empty;
            ParamName2 = string.Empty;
            ParamValue2 = string.Empty;
            ParamName3 = string.Empty;
            ParamValue3 = string.Empty;
        }
	}
}
